package com.zs.usc.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * <p>
 * 应用表
 * </p>
 *
 * @author ZS
 * @since 2021-12-11
 */
@TableName("usc_server")
@ApiModel(value="ServerInfo对象", description="服务表")
@Data
@ToString
public class ServerInfo implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "应用ID")
    @TableId(value = "server_Id",type = IdType.ASSIGN_ID)
    private String serverId;

    @ApiModelProperty(value = "应用名称")
    @TableField("server_Name")
    private String serverName;

    @ApiModelProperty(value = "应用标识")
    @TableField("server_Flag")
    private String serverFlag;

    @ApiModelProperty(value = "是否启用")
    @TableField("is_Enable")
    private Integer isEnable;

    @ApiModelProperty(value = "是否删除")
    @TableField("is_Delete")
    private Integer isDelete;

    @ApiModelProperty(value = "创建者")
    @TableField(value = "creator_Id",fill = FieldFill.INSERT)
    private String creatorId;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_Time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "最后修改者")
    @TableField(value = "last_Update_User_Id",fill = FieldFill.INSERT_UPDATE)
    private String lastUpdateUserId;

    @ApiModelProperty(value = "最后修改时间")
    @TableField(value = "last_Update_Time",fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime lastUpdateTime;
}
